import Vue from 'vue'
import Vuex from 'vuex'
import home from './module/home.js'
import login from './module/login.js'
import allgoods from './module/allgoods.js'
import bookdetail from './module/bookdetail.js'
import searchClassDetail from './module/searchClassDetail.js'
import shopcar from './module/shopcar.js'
import ordercommit from './module/ordercommit.js'
Vue.use(Vuex)

const store = new Vuex.Store({
    // state: {
    //   count: 0
    // },
    mutations: {
     
    },
    modules:{
        home,
        login,
        allgoods,
        bookdetail,
        shopcar,
        bookdetail,
        searchClassDetail,
        ordercommit
    }
  })

export default store